<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>demo</title>
  <script type="text/javascript" src="../vue.js"></script>
</head>

<body>
  <div id="app">
    <a v-bind:href="src">图片</a>
    <!-- <img v-bind:src="src"></img> -->
    <img :src=`${prefix}${path}`></img>
    <div> 我div</div>
    <p :temperature="temperature?'热吖':'冷吖'">{{temperature}}</p>
    <p :count="count+1"></p>
  </div>
</body>
<script type="text/javascript">
  Vue.config.productionTip = false;
  const vm = new Vue({
    el: "#app",
    data() {
      return {
        temperature: true,
        src: "https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png",
        prefix: "https://www.baidu.com/img/",
        path: "PCfb_5bf082d29588c07f842ccde3f97243ea.png",
        count: 1
      }
    }
  })
</script>

</html>